Crafty.c("SteamTrainLok",{

  init: function()
  {
    Crafty.sprite(159, "pic/Lok159.png", {Lok159 : [0,0]});
    this.requires("2D, Canvas, Animate, SpriteAnimation, Lok159 ");
    this.attr({x: 370, y: 500, z: 25});
    this.addComponent("Lok159");
    //this._camera = Crafty.e("Camera").camera(this);

  }
});

Crafty.c("SteamTrainWagon",{

  init: function()
  {
    Crafty.sprite(174, "pic/Wagon174.png", {Wagon174 : [0,0]});
    this.requires("2D, Canvas, Animate, SpriteAnimation, Wagon174");
    this.attr({x: 362, y: 659, z: 20});
    this.addComponent("Wagon174");


  }

});

